<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'edit-form',
	'htmlOptions'=> array('class'=>'form-horizontal')
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="control-group">
		<?php echo $form->labelEx($model,'nickname', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->textField($model, 'nickname'); ?>
			<?php echo $form->error($model,'nickname'); ?>
		</div>
	</div>
	
	<div class="control-group">
		<?php echo $form->labelEx($model,'profile_id', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->textField($model, 'profile_id', array('readonly'=>'readonly')); ?>
			<?php echo $form->error($model,'profile_id'); ?>
		</div>
	</div>
	
	<div class="control-group">
		<?php echo $form->labelEx($model,'created_time', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->textField($model, 'created_time', array('disabled'=>'disabled')); ?>
			<?php echo $form->error($model,'created_time'); ?>
		</div>
	</div>
	
	<div class="control-group">
		<?php echo $form->labelEx($model,'last_login_time', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->textField($model, 'last_login_time', array('disabled'=>'disabled')); ?>
			<?php echo $form->error($model,'last_login_time'); ?>
		</div>
	</div>
	
	<div class="control-group">
		<?php echo $form->labelEx($model,'password', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->passwordField($model, 'password', array('autocomplete'=>'off')); ?>
			<?php echo $form->error($model,'password'); ?>
		</div>
	</div>
	
	<div class="control-group">
		<?php echo $form->labelEx($model,'confirm_password', array('class'=>'control-label')); ?>
		<div class="controls">
			<?php echo $form->passwordField($model, 'confirm_password'); ?>
			<?php echo $form->error($model,'confirm_password'); ?>
		</div>
	</div>
	
<?php $this->endWidget(); ?>
